<%inherit file="base.html"/>
<%block name="Content">

<%block name="Title">${DATA.article.title} | ${DATA.blog.title}</%block>

% if DATA.article!=None:
<div id="content" role="main">
				<!--
				<div id="nav-above" class="navigation">
					<div class="nav-previous">
						<a href="#" rel="prev">
						<span class="meta-nav">←</span>
						 ${DATA.article.title}
						 </a>
					 </div>
					<div class="nav-next"></div>
				</div><!-- #nav-above -->
				
				<div id="post-240001" class="post-240001 post type-post status-publish format-standard hentry category-daydayup">
					<h1>${DATA.article.title}</h1>
					<div class="entryContent">
						<p>${DATA.article.content} </p>
		                <div class="clear"></div>
										<p>Posted in 
											<a href="/category/${DATA.article.category.name}" title="查看 ${DATA.article.category.name} 中的全部文章" rel="category">
												${DATA.article.category.name}
											</a>
											%if len(DATA.article.getTags()):
												 and tagged 
												% for tag in DATA.article.getTags():
													<a href="/tag/${ tag.name}" rel="tag">${ tag.name}</a>, 
												% endfor
											%endif
										</p>
					</div>
				</div>
				
			<h3 id="comments"> Responses to “${DATA.article.title}”</h3>
			%if DATA.commentList.count()>0:	
			<ol class="commentlist">
				%for comment in DATA.commentList:
				<li class="comment even thread-even depth-1" id="comment-1">
					<div id="div-comment-1" class="comment-body">
					<div class="comment-author vcard">
						<img alt="" src="${comment.getGravator()}" class="avatar avatar-32 photo avatar-default" height="32" width="32">		
						<cite class="fn"><a href="${comment.website}" rel="external nofollow" class="url">${comment.nickname}</a></cite> 
						<span class="says">说道：</span>		
					</div>
					<div class="comment-meta commentmetadata">
						${comment.getLocalCreatedTime()}
					</div>
						${comment.content}
						<div class="reply"></div>
					</div>
				</li>
				%endfor
			</ol>
			%endif
			
			
			<div class="respond">
				<div style="clear:both"></div>
				<div id="respond">
					<h3 id="reply-title">发表评论 <small><a rel="nofollow" id="cancel-comment-reply-link" href="/web/wordpress/?p=240001#respond" style="display:none;">取消回复</a></small></h3>
					<form  action="${DATA.article.permalink}/comment#comment" method="post" id="comment" >
						<p class="comment-notes">电子邮件地址不会被公开。 必填项已用 <span class="required">*</span> 标注</p>	
						<p class="comment-form-author"><label for="author">昵称</label><span class="required">*</span>
							${DATA.commentForm.comment_nickname.render()}
						</p>
						<p class="comment-form-email">
							<label for="email">电子邮件</label> <span class="required">*</span>
							${DATA.commentForm.comment_email.render()}
						</p>
						<p class="comment-form-url">
							<label for="url">站点</label>
							${DATA.commentForm.comment_website.render()}
						</p>
						<p class="comment-form-comment">
							<label for="comment">评论</label>
							${DATA.commentForm.comment_content.render()}
						</p>						
						<p class="form-allowed-tags">您可以使用这些 <abbr title="HyperText Markup Language">HTML</abbr> 标签和属性： <code>&lt;a href="" title=""&gt; &lt;abbr title=""&gt; &lt;acronym title=""&gt; &lt;b&gt; &lt;blockquote cite=""&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=""&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=""&gt; &lt;strike&gt; &lt;strong&gt; </code></p>						<p class="form-submit">
						<input name="submit" type="submit" id="submit" value="发表评论">
						${DATA.commentForm.comment_article_id.render()}
						</p>
					</form>
				</div><!-- #respond -->
			</div>
</div>
% endif
</%block>